package com.itcast.activiti.service;

import cn.itcast.ic.common.bean.Response;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itcast.activiti.entity.ActIdPassUser;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author itcast
 * @since 2020-12-31
 */
public interface IActIdPassUserService extends IService<ActIdPassUser> {

    List<Map<String, Object>> listActIdPassUserByActIdProcess(Integer actIdProcessId, String userEmail);

    Response addActIdPassUser(Integer actIdProcessId, List<Map<String, Object>> mapList, String createdBy);

    List<ActIdPassUser> passUserEmailByEmail(Integer actIdProcessId, String email);

    boolean delActIdPassUser(Integer id, String deletedBy);
}
